<div class="panel panel-default panel-intro">

    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="" class="btn btn-primary" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>

                        <a href="{:url('general/crontab')}" class="btn btn-info btn-dialog" title="{:__('Task')}"><i
                                class="fa fa-tasks"></i>
                            {:__('Task')}</a>

                        <a href="{:url('addon/config',['name'=>'xcrontab'])}" class="btn btn-success btn-dialog"
                            title="{:__('Setting')}"><i class="fa fa-gear"></i> {:__('Setting')}</a>
                    </div>
                    <table class="table table-bordered">
                        <tr>
                            <th>指标</th>
                            <th>值</th>
                            <th>备注</th>
                        </tr>
                        <tr>
                            <th>执行时间</th>
                            <td>{$lastTime}</td>
                            <td class="text-muted">定时调度器最后一次执行的时间</td>
                        </tr>
                        <tr>
                            <th>运行状态</th>
                            <td>
                                {if $active}
                                <span class="text-success">开启</span>
                                {else /}
                                <span class="text-danger">关闭</span>
                                {/if}
                            </td>
                            <td class="text-muted">关闭状态表示定时调度器不会执行，开启则表示会调度官方定时任务里的任务</td>
                        </tr>
                        <tr>
                            <th>超时时间</th>
                            <td>{$timeout}秒</td>
                            <td class="text-muted">如果上次的执行时间没有更新，{$timeout}秒后重新启动</td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>